<template>
	<view class="container">
		<image :src="imgs" mode="" class="imgs"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imgs: ''
			}
		},
		onLoad() {
			this.$allApi.getStarBanner().then(res => {
				this.imgs = res.data.first_banner[0].img
				setTimeout(() => {
					this.$gourl('/pages/index/index', 2)
				}, 3000)
			})

		}
	}
</script>

<style scoped lang="scss">
	.container {
		height: 100vh;
		width: 100vw;

		.imgs {
			height: 100vh;
			width: 100vw;
		}
	}
</style>